﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using G.Web;
using G.WeiBo.WebAPI.Response;
using G.Net;

namespace G.WeiBo.WebAPI.Request
{
    public class GetUserTimelineRequest : IRequest<TimelineResponse>
    {
        public string UserID { get; set; }


        public int Count { get; set; }

        public int Page { get; set; }

        public int Feature { get; set; }
        public string GetURL()
        {
            return "statuses/user_timeline.json";
        }

        public string HttpMethod()
        {
            return G.Net.HttpMethod.Get;
        }

        public System.Collections.Generic.IDictionary<string, string> GetParameters()
        {
            LocalDictionary parameters = new LocalDictionary();
            parameters.Add("uid", UserID);
            parameters.Add("count", Count);
            parameters.Add("page", Page);
            parameters.Add("feature", Feature);
            return parameters;
        }
    }
}
